package com.wyg.entity;

import com.wyg.mybatis.enums.SexEnum;
import org.apache.ibatis.type.Alias;

@Alias("teacher")
public class Teacher {
    private String id;
    private String name;
    private int age;
    private String phoneNumber;
    private SexEnum sex;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public SexEnum getSex() {
        return sex;
    }

    public void setSex(SexEnum sex) {
        this.sex = sex;
    }
}
